package com.ruoyi.domain;

import java.util.List;

import com.ruoyi.domain.AdvertPosition;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 广告信息类型对象 advert_type
 * 
 * @author ruoyi
 * @date 2024-05-16
 */
public class AdvertType extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 广告信息类型主键#primary */
    private Long advertTypeId;

    /** 广告信息类型名称 */
    @Excel(name = "广告信息类型名称")
    private String advertTypeName;

    /** 广告信息类型说明 */
    @Excel(name = "广告信息类型说明")
    private String advertTypeInfo;

    /** 广告信息类型数量 */
    @Excel(name = "广告信息类型数量")
    private Long advertTypeMax;

    /** 广告位置#advert_position信息 */
    private List<AdvertPosition> advertPositionList;

    public void setAdvertTypeId(Long advertTypeId) 
    {
        this.advertTypeId = advertTypeId;
    }

    public Long getAdvertTypeId() 
    {
        return advertTypeId;
    }
    public void setAdvertTypeName(String advertTypeName) 
    {
        this.advertTypeName = advertTypeName;
    }

    public String getAdvertTypeName() 
    {
        return advertTypeName;
    }
    public void setAdvertTypeInfo(String advertTypeInfo) 
    {
        this.advertTypeInfo = advertTypeInfo;
    }

    public String getAdvertTypeInfo() 
    {
        return advertTypeInfo;
    }
    public void setAdvertTypeMax(Long advertTypeMax) 
    {
        this.advertTypeMax = advertTypeMax;
    }

    public Long getAdvertTypeMax() 
    {
        return advertTypeMax;
    }

    public List<AdvertPosition> getAdvertPositionList()
    {
        return advertPositionList;
    }

    public void setAdvertPositionList(List<AdvertPosition> advertPositionList)
    {
        this.advertPositionList = advertPositionList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("advertTypeId", getAdvertTypeId())
            .append("advertTypeName", getAdvertTypeName())
            .append("advertTypeInfo", getAdvertTypeInfo())
            .append("advertTypeMax", getAdvertTypeMax())
            .append("advertPositionList", getAdvertPositionList())
            .toString();
    }
}
